check params['Filedata'] in rails.
Posted
by krunal shah
on Stack Overflow
See other posts from Stack Overflow
or by krunal shah
Published on 2010-06-16T14:37:07Z
Indexed on
2010/06/16
15:12 UTC
Read the original article
Hit count: 389
How to check that my params['Filedata'] is corrupted or not?
I have function it's reading file from params['Filedata']
and writing it to the other file.
File.open(upload_file, "wb") { |f| f.write(params['Filedata'].read) }
this line working fine for me..
But when i am calling this function with delayed job funtion send_later
than I am getting error with params['Filedata'].read
.
© Stack Overflow or respective owner